Short:    Datatype for Photo-CD Images (44.0)
Uploader: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
Author:   astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
Type:     util/dtype
Version:  44.0

Requires minimum:
 * OS 3.5
 * A mounted PIPE: handler !!
 * ixemul.library V39

Additionally recommended:
 * MUI 3.8 for the preferences.

##########################################################

NOTE:
This PCD datatype is for OS 3.5 only !!
Download util/dtype/PCD-DT.lha under OS 3.0 or OS 3.1 !!

##########################################################

With the help of the pcd.datatype, your datatype sytem is able to read Photo-CD images.

This datatype is freeware and can be used for any purpose.

Internet: http://www.rzuser.uni-heidelberg.de/~astegema/


Important note about the source code:
*************************************

The source has been written in C++ using Maxon-C++ V3.
You will find several instructions a bit strange as I have converted all C-style OS-structures
to C++ OS-structures.
E.g.

struct Library
{
struct Node lib_Node;
UBYTE lib_Flags;
UBYTE lib_pad;
UWORD lib_NegSize;
UWORD lib_PosSize;
UWORD lib_Version;
UWORD lib_Revision;
APTR lib_IdString;
ULONG lib_Sum;
UWORD lib_OpenCnt;
};

has been converted to

struct Library:Node // !!!!!
{
UBYTE lib_Flags;
UBYTE lib_pad;
UWORD lib_NegSize;
UWORD lib_PosSize;
UWORD lib_Version;
UWORD lib_Revision;
APTR lib_IdString;
ULONG lib_Sum;
UWORD lib_OpenCnt;
};

This simplifies the code as I don't always need to cast variables to fit arguments
in functions.
Additionally C++ allows to leave away the 'struct' keyword !

If you like to recompile the source-code for your compiler, you need to adjust the
source-code to C. But this should be no problem.

